<extend name="Public/base" />
<block name="body">
    <div class="main-title">
        <h2>采价列表</h2>
    </div>


    <!-- 数据列表 -->
    <div class="data-table table-striped">
        <table class="">
            <thead>
            <tr>
                <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                <th class="">编号</th>
                <th class="">工号</th>
                <th class="">姓名</th>
                <th class="">待发奖励</th>
                <th class="">操作</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}" /></td>
                        <td>{$vo.id}</td>
                        <td>{$vo.account}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.reward}</td>
                        <td>
                            <a class="btn btn-primary" href="{:U('userinfo')}&report_uid={$vo.id}">采价记录</a>
                            <a class="btn btn-danger confirm ajax-get" href="{:U('rewardbalance')}&report_uid={$vo.id}">结算薪酬</a>
                        </td>
                    </tr>
                </volist>
                <else/>
                <td colspan="6" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
            </tbody>
        </table>

    </div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">

    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
//        $(".confirm").click(function(){
//            if(!confirm("请确认操作")){
//                return false;
//            }
//        })
        //导航高亮
        highlight_subnav('{:U('Report/user')}');
    </script>
</block>